#ifndef KGMTOOLBUTTON_H_
#define KGMTOOLBUTTON_H_

#include <QtCore/QString>
#include <QtGui>

class KGMToolButton : public QToolButton {

	Q_OBJECT

public:
	KGMToolButton(QWidget* parent, QIcon icon, char* type);

private:

	void mousePressEvent(QMouseEvent *event);
	void mouseMoveEvent(QMouseEvent *event) ;
	
	QPixmap pixmap;
	QPoint dragStartPosition;
	QString strType;
};

#endif /*KGMTOOLBUTTON_H_*/

